package com.easylinkin.core.tree;

import java.util.List;
import lombok.Data;

/**
 * 下拉树数据模型
 *
 * <p>TreeSelect組件
 *
 * @author tulinli
 * @since 0.1.1, 2019/4/19
 */
@Data
public class TreeSelect<T> {

  private Long id;

  private Long parentId;

  private String label;

  private TreeSelect<T> parent;

  private Integer level;

  private Boolean isDisabled;

  private Boolean isNew;

  private Boolean isDefaultExpanded;

  private List<TreeSelect<T>> children;

  private T data;
}
